﻿<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>动动吧全民健身网</title>

<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="layui/css/layui.css">
<link href="css/skitter.styles.css" type="text/css" media="all" rel="stylesheet" />
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="css/stadium.css">
<link rel="stylesheet" href="css/stadiumSelect.css">
</head>
<body>
 <div class="header">
	<div class="header-top-bg">
		<div class="container">
			<div class="header-city pad-10 small left"><span>济南市</span><a>[切换城市]</a></div>
			<div class="header-login pad-10 small right">
				<ul class="list-inline no-margin inline">
					<li >登录</li>
					<li >|</li>
					<li >注册</li>
				</ul>
			</div>
			<div class="clear"></div> 
		</div>
	</div>
	<div class="logo">
		<div class="container clear">
			<div class="header-logo-left pad-20 left">
				<div class="logo left">
					<a href="/">
						<img src="images/bs-logo_07.png"/>
					</a>
				</div>
				<div class="logo left line">
					
				</div>
				<div class="logo-right  left">
					<a href="/">
						<img src="images/bs-logo_10.png"/>
					</a>
				</div>
			</div>
			<div class="header-logo-right right">
				<ul class="list-inline no-margin">
					<li ><i class="bs-phoneimg1"></i>0531-88758917</li>
					<li >|</li>
					<li ><i class="bs-phoneimg2"></i>3370677406</li>
				</ul>
			</div>
		
		</div>
	</div>
	<div class="nav">
		<div class="container">
				<ul class="layui-nav no-margin">
				
				<li class="layui-nav-item layui-this">
                    <a href=""  title="动动首页">动动首页</a></li>
                <li class="layui-nav-item">
                    <a href="article.html"  title="体育资讯">体育资讯</a></li>
                <li class="layui-nav-item">
                    <a href="stadium.html"  title="场馆预定">场馆预定</a></li>
                <li class="layui-nav-item">
                    <a href="category.html"  title="赛事活动">赛事活动</a></li>
                <li class="layui-nav-item">
                    <a href="train.html"  title="项目培训">项目培训</a></li>
                <li class="layui-nav-item">
                    <a href="health.html"  title="健康管理">健康管理</a></li>
                <li class="layui-nav-item">
                    <a href="constitution.html"  title="体质监测">体质监测</a></li>
                <li class="layui-nav-item">
                    <a href="/sec_search"  title="协会/俱乐部">协会/俱乐部</a></li>
                <li class="layui-nav-item">
                    <a href="/sec_pt"  title="产业平台">产业平台</a></li>
                <li class="layui-nav-item">
                    <a href="http://mall.008sport.com/ddb.php?" target="_blank" title="体育商城">体育商城</a></li>
			</ul>	
		</div>
		
	</div>
	
 </div>
<div class="container">
	<span class="layui-breadcrumb border-bottom block pad-10">
		<a class="bs-address">你所在的位置：</a>
		<a href="">首页</a>
		<a href="">动客运河体育中心【羽毛球】</a>
		<a href="">场地预定</a>
	</span>
</div>
<div class="container pad-top-10 pad-bottom-10">
	<div class="row b-fff">
		<div class="col-12">
			<div class="gallery  ">
				<div class="top field">
					<div><a class="fs-2">动客运河体育中心【羽毛球】</a>
						
					</div>
					<div class="address">详细地址：北京市通州区运河公园7号动客运河体育中心
                    &nbsp;&nbsp;&nbsp;&nbsp;    &nbsp; 营业时间：08:00—21:00
                    </div>
				</div>
				 
			</div>
			<div class="right f-l clear pad-top-10">
				<span><em class="k1"></em></span><span class="f-status">可预订</span>
				<span ><em class="k2"></em></span><span class="f-status">不可订</span>
				<span><em class="k3"></em></span><span class="f-status">已预订</span>
			</div>
		</div>

	</div>
	<div class="clear"></div>
</div>
<div class="container s-c pad-top-20 clear b-fff margin-bottom-10">
	<div class="left clear s-m">
		<div class="s-l" >
			<ul class="list-inline left clear navbar-nav">
				<li class="active"><a href="#stadium">今天<p>06-01</p><p class="red">￥22起</p></a></li>
				<li ><a href="#device">明天<p>06-01</p><p class="red">￥22起</p></a></li>
				<li><a href="#traffice">周二<p>06-01</p><p class="red">￥22起</p></a></li>
				<li><a href="#traffice">周三<p>06-01</p><p class="red">￥22起</p></a></li>
				<li><a href="#traffice">周四<p>06-01</p><p class="red">￥22起</p></a></li>
				<li><a href="#traffice">周五<p>06-01</p><p class="red">￥22起</p></a></li>
				<li><a href="#traffice">周六<p>06-01</p><p class="red">￥22起</p></a></li>
			</ul>
		</div>
		<div id="stadium" class="stadium-place">

		</div>
		<div   class="fp-detail clear" >
			<blockquote class="layui-elem-quote">预定说明 </blockquote>
			<div class="dview_info">
				<dl class="dview_info_item">
					<p>此公寓套房配有北欧风格家具，两层楼高的落地玻璃窗自然透光，让北京全景一览无遗。北京丽舍酒店式服务公寓步行5分钟可至赛特购物广场和友谊商场，与秀水街，天安门广场，紫禁城及建国门地铁站只是咫尺之遥。拥有一房至四房式公寓、健身中心、桑拿、商务中心和住户休闲廊等设施。
						北京丽舍服务公寓，位于幽静的高尚住宅区，离繁华的商业区却仅咫尺之遥。赛特中心，友谊商店，地铁站，各色餐厅等不行5分钟内可达。
							丽舍服务公寓提供多种一至四居复式套房供您选择。所有套房均配有北欧风格家具及现代化室内设施，并为您提供贴心的客房服务。
							复式套房设计让您同时享受宽敞的活动空间和个人的小天地。
							在丽舍服务公寓，我们致力为您提供舒适的生活和最大的方便，让您感受成功之家的魅力。
					</p>
				</dl>
			</div>
		</div>
		<div class="fp-detail clear">
			<blockquote class="layui-elem-quote">场馆信息 </blockquote>
			<div class="dview_info">
				<dl class="dview_info_item">
					<dt><i class="icon_view_s8"></i>地址</dt>
					<dd class="on">
						<p>
							山东省济南市历下区
						</p>
					</dd>
				</dl>
				<dl class="dview_info_item">
					<dt><i class="icon_view_s1"></i>场馆电话</dt>
					<dd> 010-65662200<span class="ml20">电话预订：4009-333-333</span></dd>
				</dl>
				<dl class="dview_info_item">
					<dt><i class="icon_view_s5"></i>营业时间</dt>
					<dd>08：00-23：00        	</dd>
				</dl>
			</div>
		</div>
		<div   class="fp-detail clear" >
			<blockquote class="layui-elem-quote">产品详情 </blockquote>
			<div class="dview_info">
				<dl class="dview_info_item">
					<p>此公寓套房配有北欧风格家具，两层楼高的落地玻璃窗自然透光，让北京全景一览无遗。北京丽舍酒店式服务公寓步行5分钟可至赛特购物广场和友谊商场，与秀水街，天安门广场，紫禁城及建国门地铁站只是咫尺之遥。拥有一房至四房式公寓、健身中心、桑拿、商务中心和住户休闲廊等设施。
						北京丽舍服务公寓，位于幽静的高尚住宅区，离繁华的商业区却仅咫尺之遥。赛特中心，友谊商店，地铁站，各色餐厅等不行5分钟内可达。
							丽舍服务公寓提供多种一至四居复式套房供您选择。所有套房均配有北欧风格家具及现代化室内设施，并为您提供贴心的客房服务。
							复式套房设计让您同时享受宽敞的活动空间和个人的小天地。
							在丽舍服务公寓，我们致力为您提供舒适的生活和最大的方便，让您感受成功之家的魅力。
					</p>
				</dl>
			</div>
		</div>
	</div>	
	<div class="fix-info clear pad-top-20 left">
		<div>
			<h2>动客运河体育中心【羽毛球】</h2>
			<p class="fi-c">场次</p>
			<hr>
		</div>
		<div>
			<div id="selectPlaces" class="selectPlaces"></div>
			<div id="selectCount" class="selectCount">已选择<span class="red fs-6">0</span>个场地，<span class="green">在次点击取消</span></div>
			<div id="sumMoney" class="sumMoney">共计<span class="red fs-6">￥0.00</span></div>
			<hr>
			<div >
				<form class="layui-form" action="">
					<div class="">
						<label class="layui-form-label">联系人</label>
					</div>
					<div class="layui-form-item f-i-form">
						<div class="layui-input-inline">
						<input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入预定联系人" class="layui-input">
						</div>
					</div>
					<div class="">
						<label class="layui-form-label">联系方式</label>
					</div>
					<div class="layui-form-item f-i-form">
						<div class="layui-input-inline">
						<input type="text" name="title" lay-verify="title" autocomplete="off" placeholder="请输入预定联系方式" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item">
						<button class="layui-btn field" lay-submit="" lay-filter="demo2">立即预定</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<div class="footer">
	<ul class="list-inline">
		<li><a>关于我们</a></li>
		<li><a>联系我们</a></li>
		<li><a>商馆入驻</a></li>
		<li><a>客户服务</a></li>
	</ul>
	<ul class="list-inline" style="width:450px">
		<li>Copyright © 2017 动动吧 版权所有 鲁ICP备15020333号-2</li>
	</ul>
</div>
<script src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" language="javascript" src="js/jquery.easing.1.3.js"></script>
<script src="layui/layui.all.js"></script>
<script src="js/jquery.stadiumSchdule.js"></script>
<script src="js/jquery.formatcurrcy.js"></script>
<script src="js/accounting.js"></script>
<script src="js/base.js"></script>
 <script type="text/javascript">
        jQuery(document).ready(function($) {
		
			var arr={
			startTime:"6:00",
			endTime:"23:00",
			maxCount:10,
			places:[{
			name:'1号场地',
			schdule:[
					{startTime:"06:00",endTime:"07:00",status:"0",id:"1",price:123},
					{startTime:"07:00",endTime:"08:00",status:"0",id:"2",price:123},
					{startTime:"08:00",endTime:"09:00",status:"2",id:"3",price:123},
					{startTime:"09:00",endTime:"12:00",status:"0",id:"4",price:123},
					{startTime:"12:00",endTime:"13:00",status:"0",id:"5",price:123},
					{startTime:"13:00",endTime:"14:00",status:"0",id:"6",price:123},
					{startTime:"14:00",endTime:"16:00",status:"0",id:"7",price:123},
					{startTime:"16:00",endTime:"18:00",status:"0",id:"8",price:123},
					{startTime:"18:00",endTime:"22:00",status:"0",id:"9",price:123}
				]
			},
			{
			name:'2号场地',
			schdule:[
					{startTime:"06:00",endTime:"07:00",status:"0",id:"11",price:2213},
					{startTime:"07:00",endTime:"08:00",status:"0",id:"21",price:123},
					{startTime:"08:00",endTime:"09:00",status:"0",id:"31",price:123},
					{startTime:"09:00",endTime:"12:00",status:"0",id:"41",price:123},
					{startTime:"12:00",endTime:"13:00",status:"0",id:"51",price:123},
					{startTime:"13:00",endTime:"14:00",status:"1",id:"61",price:123},
					{startTime:"14:00",endTime:"16:00",status:"1",id:"71",price:123},
					{startTime:"16:00",endTime:"18:00",status:"1",id:"81",price:123},
					{startTime:"18:00",endTime:"22:00",status:"1",id:"91",price:123},
					{startTime:"22:00",endTime:"23:00",status:"1",id:"911",price:123}
				]
			},
			{
			name:'3号场地',
			schdule:[
					{startTime:"06:00",endTime:"07:00",status:"0",id:"111",price:2213},
					{startTime:"07:00",endTime:"08:00",status:"0",id:"211",price:123},
					{startTime:"08:00",endTime:"09:00",status:"0",id:"311",price:123},
					{startTime:"09:00",endTime:"12:00",status:"0",id:"411",price:123},
					{startTime:"12:00",endTime:"13:00",status:"0",id:"511",price:123},
					{startTime:"13:00",endTime:"14:00",status:"1",id:"611",price:123},
					{startTime:"14:00",endTime:"16:00",status:"1",id:"711",price:123},
					{startTime:"16:00",endTime:"18:00",status:"1",id:"811",price:123},
					{startTime:"18:00",endTime:"22:00",status:"1",id:"911",price:123},
					{startTime:"22:00",endTime:"23:00",status:"1",id:"9111",price:123}
				]
			},
			{
			name:'4号场地',
			schdule:[
					{startTime:"06:00",endTime:"07:00",status:"0",id:"211",price:2213},
					{startTime:"07:00",endTime:"08:00",status:"0",id:"221",price:123},
					{startTime:"08:00",endTime:"09:00",status:"0",id:"321",price:123},
					{startTime:"09:00",endTime:"12:00",status:"0",id:"421",price:123},
					{startTime:"12:00",endTime:"13:00",status:"0",id:"521",price:123},
					{startTime:"13:00",endTime:"14:00",status:"1",id:"621",price:123},
					{startTime:"14:00",endTime:"16:00",status:"1",id:"721",price:123},
					{startTime:"16:00",endTime:"18:00",status:"1",id:"821",price:123},
					{startTime:"18:00",endTime:"22:00",status:"1",id:"921",price:123},
					{startTime:"22:00",endTime:"23:00",status:"1",id:"9121",price:123}
				]
			}]
			}
		$("#stadium").stadiumSchdule(arr);
		$("#stadium").on("selectPlace",function(ele,o){
			selectHandler();
		});
		$("#stadium").on("cancelPlace",function(ele,o){
			selectHandler();
		});
		$("#stadium").on("overflow",function(ele,o){
			layui.layer.msg("最多可预定10块场地！");	
		});
		$(".place-price").formatCurrency();
		var selectHandler=function(){
			var getTpl = templatePCount.innerHTML;
			var data=$("#stadium").stadiumSchdule("getSelected");
			layui.laytpl(getTpl).render(data, function(html){
				$("#selectCount").html(html);
			});

			getTpl = templatePMoney.innerHTML;
			
			layui.laytpl(getTpl).render(data, function(html){
				$("#sumMoney").html(html);
			});

			getTpl = templatePlaces.innerHTML;
		
			layui.laytpl(getTpl).render(data, function(html){
				$("#selectPlaces").html(html);
			});
		}
	});
    </script>
	<script id="templatePCount" type="text/html">
		已选择<span class="red fs-6">{{d.length}}</span>个场地，<span class="green">在次点击取消</span>
	</script>
	<script id="templatePMoney" type="text/html">
		共计<span class="red fs-6">{{accounting.formatMoney(d.sumObj("price"),"￥")}}</span>
	</script>
	<script id="templatePlaces" type="text/html">
		<ul class="list-unstyled">
			{{# layui.each(d, function(index, item){}}
			<li>{{" "+item.name+" "+item.startTime+"-"+item.endTime+" "+accounting.formatMoney(item.price,"￥")}}</li>
			{{# }); }}
		</ul>
	</script>
</body>
</html>